#include <stdio.h>

main(void)
{
	/*
	float shu = 2.2;
	int shu2 = 2.2 / 1;
	if (shu == shu2)
		printf("shu为整数");
	printf("%.2f", shu);
	*/
	float a, b;
	scanf("%f %f", &a, &b);

	printf("%.f + %.f = %.f\n", a, b, a + b);
	printf("%.f - %.f = %.f\n", a, b, a - b);
	printf("%.f * %.f = %.f\n", a, b, a * b);

	float achub/*a除b*/ = a / b;
	int chu/*截断小数*/ = a / b;
	if (achub == chu)//可被整除
		printf("%.f / %.f = %.f\n", a, b, a / b);
	else if (achub != chu)//不可整除
		printf("%.f / %.f = %.2f\n", a, b, a / b);
	else
		printf("未知错误\n");
		
	return 0;
}